<link rel="stylesheet" href="../static/bootstrap/css/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="../static/jBox/Skins/Metro/jbox.css" type="text/css">
<link rel="stylesheet" href="../static/dist/css/AdminLTE.min.css" type="text/css">
<link rel="stylesheet" href="../static/css/admin.css" type="text/css">
<link rel="stylesheet" href="../static/plugins/treeTable/jquery.treetable.css" type="text/css">
<link rel="stylesheet" href="../static/plugins/treeTable/jquery.treetable.theme.default.css" type="text/css">
<link rel="stylesheet" href="../static/plugins/datatables/jquery.dataTables.css" type="text/css">
<style>
.ul_tree_display {
	display: none;
}

.tr_tree_display {
	display: none;
}

.table>tbody>tr>td {
	vertical-align: middle;
	font-size: 0.8em;
}

.layui-layer-content p {
	padding: 15px;
}

.dataTables_length {
	margin-top: 10px;
}
</style>
<div class="tabs-panel">
	<div class="row">
		<div class="col-xs-12">
			<div class="box">
				<div class="box-header">
					<button type="button" class="btn btn-success depart-modal add-navigation-identification">添加商品标识</button>
				</div>
				<div class="box-body">
					<table id="table_list" class="table table-bordered table-hover">
						<thead>
							<tr>
								<th style="width:5%">编号</th>
								<th style="width:15%">商品导航标识</th>
								<th style="width:15%">一级标识排序</th>
								<th style="width:15%">一级标识导航展示</th>
								<th style="width:15%">二级标识</th>
								<th style="width:15%">二级标识排序</th>
								<th style="width:15%">二级标识导航展示</th>
								<th style="width:5%">操作</th>
							</tr>
						</thead>
						<tbody>
						</tbody>
					</table>
				</div>
			</div>
		</div>
	</div>
</div>
<div class="modal fade" id="navigation-identification-modal" style="background: rgba(236, 230, 230, 0.3);" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog" style="width: 50%;">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="myModalLabel">商品导航标识</h4>
            </div>
            <div class="modal-body">
                <form action="/navigation-identification/change-navigation-identification" method="post" name="navigation_identification_form" id="navigation_identification_form">
                    <div class="box-body">
                        <div class="form-group">
                        	<div class="col-md-6">
                        		<label for="tag_group_id_add"><span class="text-danger">* </span>商品导航标识</label>
                            	<input class="form-control" name="name[]" id="name" placeholder="商品标识标识" type="text">
                        	</div>
                        	<div class="col-md-2">
                        		<br/>
                            	<input style="width: 20px;height:20px;vertical-align:middle;" name="is_show[]" id="is_show" type="checkbox">
                            	<label for="tag_group_id_add">导航展示</label>
                        	</div>
                        	<div class="col-md-4">
                        		<label for="tag_group_id_add"><span class="text-danger">* </span>排序</label>
                            	<input class="form-control" name="sort[]" id="sort" placeholder="排序" type="text">
                        	</div>
                        </div>
                        <br/><br/><br/>
                        <div class="form-group">
                            <button type="button" class="btn btn-success depart-modal" id="add_input">添加二级标识导航</button>
                            <table class="table table-hover" id="input_table">
                            	<thead>
                                    <tr>
                                    	<th width="40%">二级标识</th>
                                        <th width="20%">导航展示</th>
                                        <th width="20%">排序</th>
                                        <th width="20%">操作</th>
                                    </tr>
                                </thead>
                                <tbody class="tbody-class">
                                </tbody>
                            </table>
                        </div>
                        <input name="navigation_identification_id" type="hidden" id="navigation_identification_id">
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <a type="button" class="btn btn-primary ajax_post_tag">提交</a>
            </div>
        </div>
    </div>
</div>
<!-- 固定js -->
<script type="text/javascript" src="/static/plugins/jQuery/jquery-2.2.3.min.js"></script>
<script type="text/javascript" src="/static/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/static/plugins/datatables/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="/static/plugins/datatables/dataTables.bootstrap.min.js"></script>
<script type="text/javascript" src="/static/jBox/jquery.jBox-2.3.min.js"></script>
<script type="text/javascript" src="/static/jBox/i18n/jquery.jBox-zh-CN.js"></script>
<script type="text/javascript" src="/static/plugins/treeTable/jquery.treetable.js"></script>
<!-- 自定义js -->
<script type="text/javascript" src="/static/app/global.js?version=<?=Yii::$app->params['version']?>"></script>
<script type="text/javascript" src="/static/app/navigation-identification/index.js?version=<?=Yii::$app->params['version']?>"></script>